package br.sed.theenemy.business.exception;

/**
 * Exception threw when the query returned more than one bean is invalid.
 * 
 * @author JulioCB
 * @email jcbjulio@gmail.com
 */
public class InvalidUniqueBeanException extends Exception {

    private static final long serialVersionUID = 889260193157243953L;

    /**
     * Constructor.
     * @param message The message
     */
    public InvalidUniqueBeanException(final String message) {
        super(message);
    }

    /**
     * Constructor.
     * @param message The message
     * @param cause The throwable cause
     */
    public InvalidUniqueBeanException(final String message, final Throwable cause) {
        super(message, cause);
    }

}
